<?php
plugin('admin-top-home');
$panelFormat = '										<div class="panel">
											<div class="panelHead">
												<h3>%s</h3>
											</div>
											<div class="panelContent clearfix">
												%s
											</div>
										</div>
';
foreach($pluginData['dashboard'] as $value) {
	$title = $value['title'];
	$func  = $value['callFunction'];
	$col = $value['column'];
	$panels[$col] .= sprintf($panelFormat, $title, $admin->ob_handle_cust_func($func));
}
ksort($panels, SORT_NUMERIC);
foreach($panels as $colNum => $contents) {
	$output .= sprintf('<div id="col-%s">
									<div class="gutter">
	%s
	</div></div>', $colNum, $contents);
}
$admin->page_info['content']['page_title']		= "Home";
$admin->page_info['content']['page_content']	= <<<EOT
<h2>Welcome to {$admin->page_info['settings']['Site Name']['value']}</h2><br />
								$output
EOT;
plugin('admin-bottom-home');
//Display page
include(BASE_URL.'includes/admin/admin.php');
?>